<ui:composition 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface>
        <composite:attribute name="label"/>
        <composite:attribute name="value"/>
        <composite:attribute name="rows"/>
        <composite:attribute name="cols"/>
        <composite:attribute name="requiredMessage"/>
        <composite:attribute name="required"/>
    </composite:interface>

    <composite:implementation>        
        <h:outputLabel for="inputField" value="#{cc.attrs.label}:" styleClass="ds-label"/>
        <h:inputTextarea value="#{cc.attrs.value}"
                         title="#{cc.attrs.label}"
                         id="inputField"
                         rows="#{cc.attrs.rows}"
                         cols="#{cc.attrs.cols}"
                         styleClass="ui-widget-content ui-corner-all ds-field"
                         requiredMessage="#{cc.attrs.requiredMessage}"
                         required="#{cc.attrs.required}"/>					 
        <h:message id="errorMessage" for="inputField" errorClass="ui-state-error ui-state-error-text ds-message" />
        <script type="text/javascript">deltaset.decorateIfError('#{cc.clientId}');</script>
    </composite:implementation>
</ui:composition>